<?php

declare (strict_types=1);
namespace App\Model;

use Qbhy\HyperfAuth\AuthAbility;
use Qbhy\HyperfAuth\Authenticatable;

/**
 * @property int $id 
 * @property string $username 
 * @property string $nickname 
 * @property string $password 
 * @property int $status 
 * @property int $create_time 
 * @property int $admin_group_id 
 */
class AuthUser extends Model  implements Authenticatable
{

    use AuthAbility;
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'auth_user';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $guarded = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'status' => 'integer', 'create_time' => 'integer', 'admin_group_id' => 'integer'];
}